<script setup>
import { RouterLink, RouterView } from "vue-router";
</script>

<template>
  <!-- <header>
    <h1>2024-2025-3 重修项目</h1>
    <p>请每个同学完成一个vue页面（请勿使用多个页面造成文件混乱），并将其添加到此页面，用学号和名字命名</p>
  </header> -->
  <div class="body">
    <aside>
      <RouterLink to="/">Home</RouterLink>
      <RouterLink to="/asd">201939273 Jack</RouterLink>
      <RouterLink to="/ZhangSan">221234145 ZhangSan</RouterLink>
      <RouterLink to="/zhenzijie">22265120218 甄子杰</RouterLink>
      <RouterLink to="/Jinming">22265120132 黄津明</RouterLink>
      <RouterLink to="/quziyi">21265120226 屈子异</RouterLink>
      "
    </aside>

    <main>
      <RouterView />
    </main>
  </div>
</template>
<!-- <style scoped>
.body {
  display: flex;
}
aside{
  display: flex;
  flex-direction: column;
  width: max-content; /* 宽度正好适应内容 */
  min-width: min-content; /* 防止内容被压缩 */
}

</style> -->

<style scoped>
/*22265120132 黄津明*/
/*运行游戏需要激活以下代码*/
/*由于没有使用游戏引擎,边缘检测是手动调试的,导致分辨率一变就会失效,在我那里倒是好好的,没办法的事情,所以只能这样了*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial Rounded MT Bold", "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c);
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 20px;
}

#app {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1000px;
}

.game-title {
  font-size: 48px;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  text-align: center;
  color: #f8f8f8;
}

.game-subtitle {
  font-size: 22px;
  margin-bottom: 30px;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
  text-align: center;
  color: #e0e0e0;
  max-width: 600px;
  line-height: 1.6;
}
</style>
